package com.seeTools.boot.api.entity.sys;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seeTools.boot.api.entity.TenantBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 对象存储配置对象 sys_oss_config
 *
 * @author ruoyi
 * @date 2024-03-05
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("sys_oss_config")
public class SysOssConfig extends TenantBaseEntity {


    private static final long serialVersionUID = 1L;


    /**
     * 配置key
     */
    @ExcelProperty(value = "配置key")
    private String configKey;

    /**
     * accessKey
     */
    @ExcelProperty(value = "accessKey")
    private String accessKey;

    /**
     * 秘钥
     */
    @ExcelProperty(value = "秘钥")
    private String secretKey;

    /**
     * 桶名称
     */
    @ExcelProperty(value = "桶名称")
    private String bucketName;

    /**
     * 前缀
     */
    @ExcelProperty(value = "前缀")
    private String prefix;

    /**
     * 访问站点
     */
    @ExcelProperty(value = "访问站点")
    private String endpoint;

    /**
     * 自定义域名
     */
    @ExcelProperty(value = "自定义域名")
    private String domain;

    /**
     * 是否https（Y=是,N=否）
     */
    @ExcelProperty(value = "是否https（Y=是,N=否）")
    private String isHttps;

    /**
     * 域
     */
    @ExcelProperty(value = "域")
    private String region;

    /**
     * 桶权限类型(0=private 1=public 2=custom)
     */
    @ExcelProperty(value = "桶权限类型(0=private 1=public 2=custom)")
    private String accessPolicy;

    /**
     * 是否默认（0=是,1=否）
     */
    @ExcelProperty(value = "是否默认（0=是,1=否）")
    private String status;

    /**
     * 扩展字段
     */
    @ExcelProperty(value = "扩展字段")
    private String ext1;
}
